import java.util.ArrayList;
import java.util.List;

public class DataTypeConfig {
    private String name;
    private String description;
    private String category;
    private List<StructMember> members = new ArrayList<>();

    // Constructor, getters and setters...

    public void addMember(StructMember member) {
        if ("Struct".equals(category)) {
            members.add(member);
        }
    }

    public void removeMember(StructMember member) {
        members.remove(member);
    }

    public List<StructMember> getMembers() {
        return members;
    }
}
